package cn.edu.cdu.farmdeal.mapper;

import cn.edu.cdu.farmdeal.domain.Swiper;
import cn.edu.cdu.farmdeal.domain.SwiperExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface SwiperMapper {
    List<Swiper> getSwiper();

    int countByExample(SwiperExample example);

    int deleteByExample(SwiperExample example);

    int deleteByPrimaryKey(String id);

    int insert(Swiper record);

    int insertSelective(Swiper record);

    List<Swiper> selectByExample(SwiperExample example);

    Swiper selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Swiper record, @Param("example") SwiperExample example);

    int updateByExample(@Param("record") Swiper record, @Param("example") SwiperExample example);

    int updateByPrimaryKeySelective(Swiper record);

    int updateByPrimaryKey(Swiper record);
}